//
//  SDPersonManager.h
//  SDDataTest
//
//  Created by sodao on 12-9-27.
//  Copyright (c) 2012年 sodao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SDPageDataPool.h"
#import "SDModel.h"

#define NotifactionParaseResponseStringError @"NotifactionParaseResponseStringError"

@interface SDPersonManager : NSObject
{
    User* user;
    SBJsonParser* _jsonParser;
}
@property (nonatomic, retain) User* user;
@property (nonatomic, retain) NSMutableDictionary* personDataPool;
@property (nonatomic, retain) SDPageDataPool*      userFans;
@property (nonatomic, retain) SDPageDataPool*      userFav;
@property (nonatomic, retain) SDPageDataPool*      userSug;

-(void)getPersonByID:(NSString*)pID;

//用户信息相关
-(void)loginByAccount:(NSString*)account psd:(NSString*)psd otherInfo:(NSDictionary*)info;
-(void)forgetPassword:(NSString*)mailortel;
-(void)resetUserPassword:(NSString*)userid oldpsd:(NSString*)oldpsd newid:(NSString*)newpsd;
-(void)autoLogin:(NSString*)token;
-(void)getUserConfigInfo;
-(void)loginOut;
-(void)cancelBindSync:(NSInteger)authType;





@end
